﻿
@{
    ViewBag.Title = "qrcode";
    Layout = "~/Views/Shared/_LayoutFrame.cshtml";
}

@section header{ 

<link href="~/Content/images/index.css" rel="stylesheet" />
<script src="~/Content/images/jquery-1.8.2.min.js"></script>
<script src="~/Content/images/iColorPicker.js"></script>
<script src="~/Content/images/ZeroClipboard.js"></script>

    <style>
        #body{
            padding:0;margin:0;background:#ddd;font-size:14px
        }
    </style>

    }
<div id="main" style="width:960px;background:#fff; border:1px solid #eee;margin:20px auto;padding:20px 40px;">
    <div style="height:18px; line-height:18px; width:888px; margin:10px 30px;">
        <script>
var marqueeContent=new Array();   //滚动新闻
marqueeContent[0]='<font color="#ff0000">澳龙科技温馨提示： </font><a href="http://v.unihi.cn" target=_blank>二维码又称二维条码，是在一维条码的基础上扩展出的一种具有可读性的条码。</a><br>';
marqueeContent[1]='<font color="#ff0000">澳龙科技温馨提示： </font><a href="http://v.unihi.cn" target=_blank>设备通过扫描二维码，识别条码的二进制数据并可获取其中所包含的信息。</a><br>';
marqueeContent[2]='<font color="#ff0000">澳龙科技温馨提示： </font><a href="http://v.unihi.cn" target=_blank>手机二维码可以印刷在报纸、杂志、图书及个人名片等多种载体上，用户通过手机摄像头扫描二维码</a><br>';
marqueeContent[3]='<font color="#ff0000">澳龙科技温馨提示： </font><a href="http://v.unihi.cn" target=_blank>手机二维码扫描软件：比较知名的应用有条码扫描器、快拍、酷拍、我查查等。彩色二维码生成器,二维码生成器。</a><br>';
var marqueeInterval=new Array();  //定义一些常用而且要经常用到的变量
var marqueeId=0;
var marqueeDelay=5000;
var marqueeHeight=18;
//接下来的是定义一些要使用到的函数
function initMarquee() {
    var str=marqueeContent[0];
    document.write('<div id=marqueeBox style="overflow:hidden;height:'+marqueeHeight+'px" onmouseover="clearInterval(marqueeInterval[0])" onmouseout="marqueeInterval[0]=setInterval(\'startMarquee()\',marqueeDelay)"><div>'+str+'</div></div>');
    marqueeId++;
    marqueeInterval[0]=setInterval("startMarquee()",marqueeDelay);
    }
function startMarquee() {
    var str=marqueeContent[marqueeId];
        marqueeId++;
    if(marqueeId>=marqueeContent.length) marqueeId=0;
    if(marqueeBox.childNodes.length==1) {
        var nextLine=document.createElement('DIV');
        nextLine.innerHTML=str;
        marqueeBox.appendChild(nextLine);
        }
    else {
        marqueeBox.childNodes[0].innerHTML=str;
        marqueeBox.appendChild(marqueeBox.childNodes[0]);
        marqueeBox.scrollTop=0;
        }
    clearInterval(marqueeInterval[1]);
    marqueeInterval[1]=setInterval("scrollMarquee()",18);
    }
function scrollMarquee() {
    marqueeBox.scrollTop++;
    if(marqueeBox.scrollTop%marqueeHeight==(marqueeHeight-1)){
        clearInterval(marqueeInterval[1]);
        }
    }
initMarquee();
        </script>
    </div>

    <DIV class=main>
        <DIV class=ibox>
            <DIV class=il>
                <DIV class=inav>
                    <UL id=datatype class= class>
                        <LI class=hover><SPAN class=s1><A href="javascript:" name=nav_text>通用文本</A></SPAN>
                        <LI><SPAN class=s2><A href="javascript:" name=nav_telephone>电话号码</A></SPAN>
                        <LI><SPAN class=s3><A href="javascript:" name=nav_sms>短信</A></SPAN>
                        <LI><SPAN class=s4><A href="javascript:" name=nav_card>电子名片</A></SPAN>
                        <LI><SPAN class=s5><A href="javascript:" name=nav_mail>电子邮件</A></SPAN>
                        <LI><SPAN class=s6><A href="javascript:" name=nav_url>网址</A></SPAN>
                        <LI>
                            <SPAN class=s7><A href="javascript:" name=nav_wifi>WiFi网络</A></SPAN>
                        </LI>
                    </UL>
                </DIV>
                <DIV class=middle>
                    <FORM id=qrcodeform action=#>
                        <DIV id=text class=imbox>
                            <DIV class=imtit>推荐150字以内，支持普通文本/网址/EMAIL地址</DIV>
                            <DIV class=imtext><TEXTAREA id=text_text rows=5 cols=30></TEXTAREA> <!--  <div class="size"><span id="text_size">0</span>/150</div>--></DIV>
                        </DIV>
                        <DIV id=telephone class=imbox>
                            <DIV class=imtit>请输入你的电话号码</DIV>
                            <DIV class=imtext>
                                <DIV class=input><INPUT id=telephone_tel class=sms></DIV>
                            </DIV>
                        </DIV>
                        <DIV id=sms class=imbox>
                            <DIV class=imtit>短信生成二维码，短信内容推荐140个字以内</DIV>
                            <DIV class=imtext>
                                <DIV class=subtit>电话号码</DIV>
                                <DIV class=input><INPUT id=sms_tel class=sms></DIV>
                                <DIV class=subtit>短信内容</DIV><TEXTAREA id=sms_sms rows=5 cols=30></TEXTAREA>
                                <DIV class=size><SPAN id=sms_size>0</SPAN>/140</DIV>
                            </DIV>
                        </DIV>
                        <DIV id=card class=imbox>
                            <DIV class=imtit>电话和姓名为必填项</DIV>
                            <DIV class=imtext>
                                <DIV class=subtit><SPAN>*</SPAN>姓名</DIV>
                                <DIV class=input><INPUT id=card_n class=sms></DIV>
                                <DIV class=subtit><SPAN>*</SPAN>电话</DIV>
                                <DIV class=input><INPUT id=card_tel class=sms></DIV>
                                <DIV class=subtit>公司/单位</DIV>
                                <DIV class=input><INPUT id=card_org class=sms></DIV>
                                <DIV class=subtit>职位</DIV>
                                <DIV class=input><INPUT id=card_til class=sms></DIV>
                                <DIV class=subtit>网址</DIV>
                                <DIV class=input><INPUT id=card_url class=sms></DIV>
                                <DIV class=subtit>电子邮箱</DIV>
                                <DIV class=input><INPUT id=card_mail class=sms></DIV>
                                <DIV class=subtit>地址</DIV>
                                <DIV class=input><INPUT id=card_adr class=sms></DIV>
                                <!-- <div class="subtit">备注</div>
                                <textarea rows="3" cols="20"></textarea>-->
                            </DIV>
                        </DIV>
                        <DIV id=mail class=imbox>
                            <DIV class=imtit>电子邮件生成二维码</DIV>
                            <DIV class=imtext>
                                <DIV class=input><INPUT id=mail_mail class=sms></DIV>
                            </DIV>
                        </DIV>
                        <DIV id=url class=imbox>
                            <DIV class=imtit>网址请以http://或https://开头</DIV>
                            <DIV class=imtext>
                                <DIV class=input><INPUT id=url_url class=sms></DIV>
                            </DIV>
                        </DIV>
                        <DIV id=wifi class=imbox>
                            <DIV class=imtit>适用于安卓系统</DIV>
                            <DIV class=imtext>
                                <DIV class=subtit>SSID/无线账号</DIV>
                                <DIV class=input><INPUT id=wifi_ssid class=sms></DIV>
                                <DIV class=subtit>密码</DIV>
                                <DIV class=input><INPUT id=wifi_p class=sms></DIV>
                                <DIV class=subtit>密码类型</DIV>
                                <DIV class=input>
                                    <SELECT id=wifi_t class=select>
                                        <OPTION selected
                                                value=WPA/WPA2>
                                            WPA/WPA2
                                        </OPTION>
                                        <OPTION value=WEP>WEP</OPTION>
                                        <OPTION>无加密</OPTION>
                                    </SELECT>
                                </DIV>
                            </DIV>
                        </DIV>
                        <DIV class=selectcolor>
                            背景颜色 <INPUT id=bg class=iColorPicker onClick="iColorShow('bg','icp_bg')" value=#ffffff maxLength=7 name=mycolor> 图片颜色
                            <INPUT id=fg class=iColorPicker onClick="iColorShow('fg','icp_fg')" value=#000000 maxLength=7 name=mycolor>
                        </DIV>
                        <DIV class=generate><INPUT class=submit type=submit value=""></DIV>
                    </FORM>

                    <SCRIPT type=text/javascript>
(function($){
$('#telephone,#sms,#card,#mail,#url,#wifi').hide();
})(jQuery)
                    </SCRIPT>
                </DIV>
            </DIV>
            <DIV class=ir>
                <DIV class=irtit>您可以用手机扫描这张二维码图片 </DIV>
                <TABLE class=table>
                    <TBODY>
                        <TR>
                            <TD vAlign=center align=middle>
                                <DIV id=bigcode class=bigcode><A href="images/code.png" target=_blank><IMG id=qrcodeimg src="images/code.png"></A> </DIV>
                            </TD>
                        </TR>
                    </TBODY>
                </TABLE>

                <DIV class=save>

                </DIV>
            </DIV>
        </DIV>
        <div style=" text-align:left; line-height:210%; font-size:14px;">
            &nbsp;&nbsp;&nbsp;&nbsp;<strong>二维码</strong>又称二维条码，是在一维条码的基础上扩展出的一种具有可读性的条码。<br>
            &nbsp;&nbsp;&nbsp;&nbsp;设备通过扫描二维码，识别条码的二进制数据并可获取其中所包含的信息。<br>
            &nbsp;&nbsp;&nbsp;&nbsp;手机二维码可以印刷在报纸、杂志、图书及个人名片等多种载体上，用户通过手机摄像头扫描二维码，即可实现快速手机上网，下载图文、音乐、视频、参与抽奖、了解企业产品信息等，还可以方便地用手机识别和存储名片、自动输入短信、获取公共服务（如天气预报）、查询电子地图、手机阅读等多种功能。手机二维码是3G时代网络浏览、应用下载、网上购物、网上支付等服务的重要入口。<br>
            &nbsp;&nbsp;&nbsp;&nbsp;手机二维码扫描软件：比较知名的应用有条码扫描器、快拍、酷拍、我查查等。彩色二维码生成器,二维码生成器。<br>

        </div>
    </DIV>
</div>
<SCRIPT type=text/javascript src="images/index.js"></SCRIPT>
<SCRIPT type=text/javascript src="images/public.js"></SCRIPT>
        </div>
    </div>



